package com.gsm.dao;

import com.gsm.po.SysUser;
import java.util.List;

/**
 * 后台管理人员账户(SysUser)表数据库访问层
 *
 * @author wjq
 * @since 2020-11-24 02:49:54
 */
public interface SysUserDao {

    int selectMaxShowOrder();

    int insertSysUser(SysUser sysUser);

    int deleteSysUserByUserId(Long userId);

    int updateSysUserByUserId(SysUser sysUser);

    SysUser selectSysUserByUserId(Long userId);

    List<SysUser> selectSysUserList(SysUser sysUser);
    List<SysUser> selectSysUserListAndRoles(SysUser sysUser);

    SysUser selectSysUserByIphoneNo(String iphoneNo);

    int updateSysUserShowOrderByUserIds(List<Long> list);
}